package DateStructure.Class2.DEMO1;


public class Demo1 {

    public static void main(String[] args) {
        Integer[] arrays = {1,2,3,4,56,6,7,8,9,10};
        System.out.println(AF3.FindMax(arrays));
    }

    public static void main2() {
        AF2 af2 = new AF2();
        Integer[] arrays = {1,2,3,4,5,6,7,8,9,10};
        int a=af2.FindMax(arrays);
        System.out.println(a);
    }

    public static void main1() {
        AF<Integer> arrays=new AF<>();
        Integer[] array={1,2,3,45,4,5,6};
        int a=arrays.FindMax(array);
        System.out.println(a);
    }
}
